<#include "overall_header.html">

						<h1><#if se_page.bean.user.id == 0>${L("nav.acp/useradd")}<#else>${L("nav.acp/useredit")}</#if></h1>
						<p> </p>

						<form action="${se_page.post_action}" method="post" id="settings">
							<fieldset>
								<legend>${L("user.account-basic-information")}</legend>
								<dl>
									<dt><label for="username">${L("user.username")}:</label><br><span></span></dt>
									<dd>
										<input type="text" value="${se_page.bean.user.name?html}" size="30" maxlength="32" id="username" name="username">
										<#if se_page.bean.error_msg["username"]??><span class="errormsg">${se_page.bean.error_msg["username"]}</span></#if>
									</dd>
								</dl>
								<#if se_page.bean.user.id &gt; 0>
								<dl>
									<dt><label for="userid">${L("user.userid")}:</label><br><span></span></dt>
									<dd>
										<strong>${se_page.bean.user.id}</strong>
									</dd>
								</dl>
								</#if>
								<dl>
									<dt><label>${L("user.register-time")}:</label></dt>
									<dd><strong>${se_page.bean.user.createTime?string("yyyy-MM-dd HH:mm")}</strong></dd>
								</dl>
								<dl>
									<dt><label for="useremail">${L("user.email")}:</label><br><span>${L("user.email-explain")}</span></dt>
									<dd>
										<input type="text" value="${se_page.bean.user.email}" size="40" maxlength="128" id="useremail" name="useremail">
										<#if se_page.bean.error_msg["useremail"]??><span class="errormsg">${se_page.bean.error_msg["useremail"]}</span></#if>
									</dd>
								</dl>
								<dl>
									<dt><label for="language">${L("user.language")}:</label><br><span></span></dt>
									<dd>
										<select id="language" name="language">${se_page.language_options}</select>
										<#if se_page.bean.error_msg["language"]??><span class="errormsg">${se_page.bean.error_msg["language"]}</span></#if>
									</dd>
								</dl>
								<dl>
									<dt><label for="timezone">${L("user.timezone")}:</label></dt>
									<dd>
										<select id="timezone" name="timezone">${se_page.timezone_options}</select>
										<#if se_page.bean.error_msg["timezone"]??><span class="errormsg">${se_page.bean.error_msg["timezone"]}</span></#if>
									</dd>
								</dl>
								<dl>
									<dt><label for="userstatus">${L("user.status")}:</label><br><span></span></dt>
									<dd>
										<select id="userstatus" name="userstatus">${se_page.status_options}</select>
										<#if se_page.bean.error_msg["userstatus"]??><span class="errormsg">${se_page.bean.error_msg["userstatus"]}</span></#if>
									</dd>
								</dl>
								<dl>
									<dt><label for="passwd">${L("user.password-new")}:</label><br><span>${L("user.password-new-explain")}</span></dt>
									<dd>
										<input type="password" maxlength="64" size="16" value="${se_page.bean.passwd}" id="passwd" name="passwd">
										<#if se_page.bean.error_msg["passwd"]??><span class="errormsg">${se_page.bean.error_msg["passwd"]}</span></#if>
									</dd>
								</dl>
								<dl>
									<dt><label for="passwd_confirm">${L("user.password-new-confirm")}:</label><br><span></span></dt>
									<dd>
										<input type="password" maxlength="64" size="16" value="${se_page.bean.passwd_confirm}" id="passwd_confirm" name="passwd_confirm">
										<#if se_page.bean.error_msg["passwd_confirm"]??><span class="errormsg">${se_page.bean.error_msg["passwd_confirm"]}</span></#if>
									</dd>
								</dl>
							</fieldset>

							<fieldset>
								<legend>${L("user.account-extend-information")}</legend>
								<dl>
									<dt><label>${L("global.permissions")}:</label><br><span></span></dt>
									<dd>
										${se_page.permission_rows }
									</dd>
								</dl>
							</fieldset>

							<fieldset class="submit-buttons">
								<legend>${L("global.submit")}</legend>
								<input type="hidden" name="form_submit" value="1" />
								<input type="hidden" name="id" value="${se_page.bean.user.id}" />
								<input type="hidden" name="redirect" value="${se_page.bean.redirect}" />
								<input type="submit" value="${L("global.submit")}" name="update" class="button1">&nbsp;
							</fieldset>
						</form>

<#include "overall_footer.html">